home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
COMPILER
/
VP10B003
/
VPC.ZIP
/
EXAMPLES
/
BP7
/
TVDEMO
/
HELPFILE.DIF
< prev
next >
Wrap
Text File
|
1995-06-22
|
2KB
|
65 lines
Comparing files BP7\HELPFILE.PAS and VP\HELPFILE.PAS
***** BP7\HELPFILE.PAS
14: uses Objects, Drivers, Views;
***** VP\HELPFILE.PAS
14: uses Objects, Drivers, Views, Use32;
***** BP7\HELPFILE.PAS
438: function Scan(var P; Offset, Size: Integer; C: Char): Integer; assembler;
439: asm
***** VP\HELPFILE.PAS
438: function Scan(var P; Offset, Size: Integer; C: Char): Integer; assembler;
439: {$IFNDEF USE32}
440: asm
***** BP7\HELPFILE.PAS
453: XCHG AX,CX
454: end;
***** VP\HELPFILE.PAS
454: XCHG AX,CX
455: {$ELSE} {$USES esi,edi} {$FRAME-}
456: asm
457: cld
458: mov edi,P
459: add edi,&Offset
460: mov edx,Size
461: sub edx,&Offset
462: test dh,dh
463: jz @@1
464: mov edx,256
465: @@1:
466: mov ecx,edx
467: mov al,C
468: repne scasb
469: sub ecx,edx
470: neg ecx
471: xchg eax,ecx
472: {$ENDIF}
473: end;
***** BP7\HELPFILE.PAS
457: assembler;
458: asm
***** VP\HELPFILE.PAS
476: assembler;
477: {$IFNDEF USE32}
478: asm
***** BP7\HELPFILE.PAS
468: POP DS
469: end;
***** VP\HELPFILE.PAS
488: POP DS
489: {$ELSE} {$USES esi,edi} {$FRAME-}
490: asm
491: cld
492: mov esi,Text
493: add esi,&Offset
494: mov edi,Line
495: mov eax,Length
496: stosb
497: xchg eax,ecx
498: rep movsb
499: {$ENDIF}
500: end;